From 1ff71a9cb5959c4a211cb9d394474f86a85115e1 Mon Sep 17 00:00:00 2001 From: tsteven4 <13596209+tsteven4@users.noreply.github.com> Date: Sat, 6 Feb 2021 14:29:11 -0700 Subject: [PATCH] cleanup FormatLoad class header file. (#684) clang-tidy modernize-use-default-member-init This allows the use of the implicitly-defined default ctor. Use implicitly-defined dtor as well. --- gui/formatload.h | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/gui/formatload.h b/gui/formatload.h index 6df76043d..5f24e62c6 100644 --- a/gui/formatload.h +++ b/gui/formatload.h @@ -33,15 +33,22 @@ class FormatLoad { public: - FormatLoad() : currentLine_(0) {} - ~FormatLoad() {} + + /* Member Functions */ bool getFormats(QList& formatList); + private: - QStringList lines_; - int currentLine_; + + /* Member Functions */ + bool skipToValidLine(); bool processFormat(Format& format); + + /* Data Members */ + + QStringList lines_; + int currentLine_{0}; }; #endif -- 2.30.2